<?php
class PNInform extends PNObject {
  function PNInform($init=null, $where='')
  {
    $this->PNObject();

    $this->_objType       = 'ishopstore_inform';
    $this->_objField      = 'id';
    $this->_objPath       = 'form';

    $this->_init($init, $where);
  }

  function insertPreProcess(){
    //Get customer data
    $data         = FormUtil::getPassedValue('form');
    //Set teeof date & time
    $pay_Day   =  FormUtil::getPassedValue ('pay_Day', null);
    $pay_Month =  FormUtil::getPassedValue ('pay_Month', null);
    $pay_Year  =  FormUtil::getPassedValue ('pay_Year', null);
    $pay_Date     = $pay_Year."-".$pay_Month."-".$pay_Day;
    $pay_Time     = $data[pay_hours].":"."00:00";
 
    $pay_DateTime = $pay_Date." ".$pay_Time;

    $this->_objData[transfer_date]=$pay_DateTime;
    //$this->_objData[hole]=$hole;

  }


}